package com.cstor.liang;

import com.cstor.liang.config.ProjectSettings;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * Created by Administrator on 2017/8/31.
 */
@EnableWebMvc
@SpringBootApplication
@EnableScheduling
@EnableCaching
@EnableConfigurationProperties(ProjectSettings.class)
public class LiangApplication {

    public static void main(String[] args) {
        SpringApplication.run(LiangApplication.class, args);
    }
}
